<!--{Atemplate tpl/header}-->

<div class="amain">

<table class="-table">
	<tr><td colspan="10"><b>总进程数：$pages->counts</b> <b>总内存占用：$total[memory]</b> </td></tr>
	<tr>
		<th>id</th>
		<th><a href="$pages->theurl-aorder-pid,$pages->neworder$pages->other">$taskth[pid]</a></th>
		<th><a href="$pages->theurl-aorder-taskname,$pages->neworder$pages->other">$taskth[taskname]</a></th>
		<th><a href="$pages->theurl-aorder-type,$pages->neworder$pages->other">$taskth[type]</a></th>
		<th><a href="$pages->theurl-aorder-session,$pages->neworder$pages->other">$taskth[session]</a></th>
		<th><a href="$pages->theurl-aorder-memory,$pages->neworder$pages->other">$taskth[memory]</a></th>
		<th>管理</th>
	</tr>
<!--{loop $datas $key $val}-->
	<tr id="_tasks-$val[pid]">
		<td>$val[id]</td>
		<td><input type="checkbox" id="" name="chk[]" value="$val->pid" /> $val[pid]</td>
		<td id="_taskname-$val[pid]">$val[taskname]</td>
		<td>$val[type]</td>
		<td>$val[session]</td>
		<td align="right">$val[memory]</td>
		<td>
			<input type="hidden" id="url_taskkill" value="/$this->Amodr-taskkill">
			<input type="button" onclick="Apps.cmd.taskkill($val[pid])" value="结束进程">|
			<input type="button" onclick="Apps.cmd.taskkill($val[pid],'/T')" value="结束进程树">|
		</td>
	</tr>
<!--{/loop}-->
	<tr><td colspan="10" height="30">$pages->html</td></tr>
</table>


</div>
<!--{Atemplate tpl/footer}-->